import 'package:flutter/cupertino.dart';

class AddressUpdateState {
  TextEditingController controller1 = TextEditingController();
  TextEditingController controller2 = TextEditingController();
  TextEditingController controller3 = TextEditingController();
  TextEditingController controller4 = TextEditingController();
  TextEditingController controller5 = TextEditingController();
  TextEditingController controller6 = TextEditingController();
  TextEditingController tagController = TextEditingController();
  int selectedIndex = 0;
  var tagList = ["家", "公司", ""];
  int sex = 1;
  String addressId;

  String provinceName = '';
  String cityName = '';
  String areaName = '';
  String townName = '';
  // int provinceId = 0;
  // int cityId = 0;
  // int areaId = 0;
  // int twonId = 0;
  String provinceId = "";
  String cityId = "";
  String areaId = "";
  String townId = "";

  Map province = {'name': '', 'id': ''};
  Map city = {
    'name': '',
    'id': '',
  };
  Map district = {
    'name': '',
    'id': '',
  };
  Map street = {
    'name': '',
    'id': '',
  };
  var provinceList = [];
  var cityList = [];
  var cityAreaList = [];
  var townList = [];

  bool isSelect = false;
  List addressList; // 获取后台地址
  AddressUpdateState() {
    ///Initialize variables
  }
}
